package routers

import (
	"ginvueadmin/controllers"

	"github.com/gin-gonic/gin"
)

func BaseRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	br := Router.Group("base")
	{
		br.POST("captcha", controllers.Captcha)
		br.POST("login", controllers.Login)
		br.POST("register", controllers.Register)
	}

	return br
}
